update user model
add check method in node-git