Added get_last_spin to db