added brakeman gem. changed some security issues.