Added Functionality for the app in folder: logic for ui