Added Logic to Edit Profile