tweaks to omniauth method and remove unneeded code