title: Gmail API - only allow authorised users to connect
body: <p>Right now I am programming a website that allows users to log-in through a Google API and PHP. I need to fix my code to allow only one user to be able to log-in and reject any others. What should I do? </p>