changes to gemfile, added protected attributes