Refactor: ApplicationController

Extracted some private methods and restructure the conditional for #store_location: 

Trying to reduce flog higher value on that method.