Fixed admin page
Only can flag when you are logged in