Added password hash to backend signup function