Refactored duplication in user action
Merge pull request #904 from janjiss/master

Removed code duplication on UserAction model