imgur login and base64 encode images