Added interceptors to handle errors such as 401