Added time sync with the server for token generation.