updated ui, added logout button and fixed resuming.
Added countdown timer.