Improved daemon. Updated website to add sessions to the database.