use angular cookies for authentication