Add session system and main page