add a basic get and post http methods for performing basic http authentication;