added permission check on read apps