get coord from db after login