moved under user class
rspec test passed all
removed deprecated method instance methods DEPRECATION