Added directive for current user password check.
Added history service.
Added ignore values for history data write.
Refactored all models to user HistoryService.