Added register form and worked on security. Added some javascript