Refactor code as set_current_user_or_login

No need to include SessionConcern