added username/password, implemented polling