Validating the JWT token with database in php