Fixing Session management on server..