[#65] updated the session controller by adding a response to the state of the authentication