Extract `edit user` widget. Fixes #303