added conditional to appView for initial view rendering