Moved db and settings out of docroot
User id from session