finish login and new StreamToJSON.java