adding edit to user profiles
finish user edit, update, index, destroy actions
some refactoring and additional tests