refactoring - User: rename apiname, appname and added app_and_apiname_hash