refactored http client into property
added more tests for authorization and repository
added tests and implementations for other two repo methods - added some ideas for future tests as pending