now loading UI from API instead of hard coded