This is the post api for the login which returns the response from the database. If required result is found a session is set.
app.post(\'/login\', (request,