added convenience method to access the string representation of the public key
User creation method added