lots of work...
add profile.js
fix a bug in users creation