fixing bug in the edit profile link for user widget