user class refactored; added binding.pry