Added devise gem and replaced attr_accessible