user resource and authentication and sessions
user resource working properly along with sessions