Added HttpRequest and credentials storage