added password security

For this moment in time, sha-1 is the password hashing algorithm that
will be used. In the near future, I will change this to the bcrypt
algorithm.