fixed the edit profile link appearing for non-admins