refactoring of new user and new session views