page no longer reloads after login