Put logic in place for app functionality