Started writing start_session() and end_session().