library that helps to easy show loading and errors