Method getLocationOfUser moved from controller to service.