fix oauth and views