Updated login and register requests, and user class, to better handle the session changed return information