refactor login views
do some refactoring
Finish user edit, update, index, and delete