Extracted sign_in method into the session helpers module