fix auth rendering