Added method to add types dynamically

Added code exit to script to allow user to add types if none are found
when trying to add projects.
Fixed header to allow for login/out buttons.

Added back the login and logout buttons to the page header so that TPS
state persists visually throughout the site.