Added database references
Removed session timeout for debugging