fix retrieving all func_key for a user