Refactored some methods/attributes regarding the UserActionLogController
and created a new class to maintain the MVC pattern.