added login and register form and the ability to have them on the same page