fix auth pages