user creation encryption bug fix