refactored code

updates include:

3 new home pages for different user types
3 new master search pages for different user types
Register as new user functionality