Can we use a separate helper method to login both here and in the session create method?