Added profile and account API and image downloading