add sign up controls in js
Merge pull request #10 from cranbury/user_can_login

add sign up controls in js