toWrite+="1";//"username: " + username.substring(1) + " Bad";
}
else if(username.charAt(0)=='1' && password.charAt(0)=='1')
{
FakeDB fakeDB = FakeDB.getDB();
signUpStatus=fakeDB.signUp(username.substring(1), password.substring(1));
System.out.println("username: " + username + ". login status: "+loginStatus);
if(signUpStatus==true)
toWrite+="0";//"username: " + username.substring(1) + " OK";
else
toWrite+="1";//"username: " + username.substring(1) + " Bad";