fixed shutdown method

also added ability to cancel shutdown timer on Login success.
Need to correctly parse/convert stored times to compare.