add thin to gemfile
sanitize inputs