data = new RestClient().apacheHttpClientGet(Login.url+"api/reservation/author/?format=xml", username.getText(), password.getPassword());
if( data!=null) {
u.setUsername(username.getText());
u.setPassword(password.getPassword());
AuthorsHandler authorsHandler = new AuthorsHandler(login, data, u);
flag = true;
}
else {
flag=false;
}