Upgraded security, updated views, added extended user models, and added base templates for multiple user types