Updated templates, working register form and non-functioning login form