Allow an user to signin/signup

resolves #1
what s the difference between that and template.js