Added checking for people trying to create new pages with spaces