creating user and session controllers and views