explicitely define the model userlog
replaced the label
removed useles function
removed unnecessary attribute in the model
added two new functions beforeRender and beforeRedirect in the log component