added logger
added Frame-Origin
use ruby 2.1