Added security checks to application, and default security check scheme