Insert the set_user as the first before_request function