added 20 minute timeout on sessions, and database syncage for session