I am making an API using Express on NodeJS for a student web service. It requires to log in and in the process it stores session and other cookies to authenticate the process.