Fix datetime call in UserManager