username = LoginForm.username;
name.setText(username);
if(name.getText().toString().equals(""))
{
usernamevalue="null";
login.setVisibility(View.VISIBLE);
logout.setVisibility(View.INVISIBLE);
}
else
{
usernamevalue=name.getText().toString();
login.setVisibility(View.INVISIBLE);
back.setVisibility(View.INVISIBLE);
}