Upload file on beforeSave

Update to function for upload files before saving model
User views styles

Custom styles for user views
Ignore tmp