Add profile editing functionality.