user sessions functionality added
added user authentication functionality