Refactoring : factorisation code
Remove log
Add interceptor to catch response unauthorized