logic for get config; tab bar