modified the register and the login form