Change errors messages logic on controllers to lib