Fixed the register form , and the login applicatioon