Seriously, I was not drunken!
Fixed bogus MySQL dependency
Refactoring session handling