github integration checking user existence and store it.
minor refactor