Added profile edit functionality