added security to register page
Merge pull request #39 from blind-squirrel/Sharon

added security to register page