Removal of unused passhash check

- Removed unnecessary null check on passhash, because it can not be null
in database.