refactor rspec user_logs_in with methods in session_helpers