created routes for sessions