Added authentication to the admin page