added uploadProfilePhoto method