fetching infromation in app view from database