Added password hash tool and fixed user creation bug