update login form, added register form, minor fixes