Added get_user_email(). #1017
Updated token to be public key + email to allow for easier remote auth with the same level of security. #1017