changed signature for expireAt from long to date