app/controllers/users_controller.rb
#sends back session if there is one; for admin
sends back session if there is one; for admin
sends back session if there is one ; for admin
def destroy
    session.delete :user_id
    render json: {'message': 'sessions deleted'}
  end
def destroy session . delete :user_id render json : { 'message' : 'sessions deleted' } end
sends back session if there is one; for admin
sends back session if there is one ; for admin