refactoring
change login in CRUD user model
fix some warnings