Introduced App Session type for server state