Mentor Checking Code for Oauth