Add error class to handle network and login errors