Added Password Hashing and IsAdmin Check

Additionally updated the tests to be in sync with the changes.