fixed bugs during login, built functionality to retrieve products from nearby (not sure if i want to use that)