added basic profile edit functionality