fixing logic for multiple oauths in home/index