added nginx conf to readme.md.
updated config/*.json.
updated layout.
working on lib/user.