Replace static values with constants in models/user.php.
Added sha1 encryption to passwords.