Corrected site setup css and added validate() to public functions