Added getUserData method
Added generateLogCrud to getUserData method
Fixed addError to be universal