Added exception handling to newCompany.php,added password exception for ...

...passwords less than 6 characters and added an exception for no company name