Added a method for fetching the public key of the current user