started deletion logic for api keys, also fixes an error that was being thrown on customer user deletion