I am trying to authenticate a user and then return a json object of relevant Session information. The user only hits the endpoint with their username and password, which i then