Fixed admin_block to work when user is not logged in