Added controller code to handle Client Credentials Grant