I have an async function for a login call in a controller file, it looks something like this:
login: async(req, res) =