importing datetime into user model