some refactoring of specs and views, following the exercises in ch 9
last bit of refactoring for edit/update/delete user section (ch 9)