fixing session login