Typo in function name: initiate_session() => init_session()