Added password hashing rather than just saving it raw in the db