checked checklogin so oauth has a special version