when a client is sending over the query, the response_type field has a hard coded value of code and the is rediculous to even check for that and its not stored in the database with the granted auth code, so i removed the check for it. fixed the token model