Fixing session start problem