Add createdAt field to user schema