Fixed the register form , and the login applicatioon
Merge pull request #1 from redddragon/master

some minor tweaks