applications are fetched from the database