added user creation fail,checking password equality functions