play with api and connections, change methods from class to instance methods in user.rb