add a table for session storage
change flash messages to use the DB as storage