fix createdAt/updatedAt, add user model and change layout