added protected attributes to gemfile