Checked all application about catching security errors and using flash messages