Realigns some code to make sure the app goes back to login activity after selecting your location