using GithubPost class instead the service