handling my location and calling the server with it