login_required updated