You need to use the decorator that requires an admin login.