Fixed session mysql problem