boolean checkUserPasswordWrite(String userName,String password){
  return userName.equals(this.writeUserName) && password.equals(this.writePassword);
}

boolean checkUserPasswordWrite ( String userName , String password ) { return userName . equals ( this . writeUserName ) && password . equals ( this . writePassword ) ; }
check if this user name is allowed to write .
