Update session.cpp

Adding get_last_insert_id for sqlite