added salting to password hash. requires "pgcrypto" extension to the database