Rails4 Backend for GPS Tracking