created signup and login function.
Template view now able to detect no user logged in