Bugs Fixed

1) Fixed logout crash
2) TimeFormat refined