marked session secret to be edited
database returns a pool to prevent crashes from sql timeouts