modify auth_helper