Add function to show errors and information.

Just like gmail does