Password Hashing

Fixed sign up page to give an error when a user is trying to sign up
with an already registered uniqname. Also added password hashing using
sha1 for security.