updated app with brakeman analyze, fixed security warnings