Add base home page and implement base session handling