safe fv implementation for login_to_admin