Fix bug and implement check apikey after 10min