add method for User and rspec