Create user model and session handling for login/logout capability.