Fixed redirect loop if no admin user