gemfile change
route fix
authorize resource error fix