Task#5181 Validate input data and create, edit profile

Update created_at field and updated_at field for all models.