add User entity
add encrypt util
bugfix