made the custom fields uniqueboolean field and implemented the selection of a unique homepage