added session middleware for testing
need to fix db connection issue
added codeception base test