Add test and solution to prevent a user not logged in from creating a site