added register page and the updated the login with the login form