added user-closed-app endpoint which sets the users location to -1 when they close the app