changes authentication to github oauth and adds identity model