send user id and location id to server when user opens app