refactor of redirect after login

user story https://www.pivotaltracker.com/story/show/64997344
refactored store_location method so conditional logic in the
method has a much clearer intent based on code review suggestions