Fixed some issues with the register/login forms