added more to initialize_session()