Add api key check in redis