Initial `session` implementation (not recommended to use)