Added config file for db/port configuration on environment. Added autologoff after 30min of inactivity.