separate register from sessions_controller