}
public static ParseUser login(String username, String password) throws ParseException {
ParseGetCommand command = new ParseGetCommand("login");
command.addJson(false);
command.put("username", username);
command.put("password", password);
ParseResponse response = command.perform();
if(!response.isFailed()) {
JSONObject jsonResponse = response.getJsonObject();
if (jsonResponse == null) {
LOGGER.error("Empty response.");
throw response.getException();