public boolean registerUser(String username,String password,String uri) throws DataAccessException {
  if (checkUsernameExists(username)) {
    return false;
  }
  storeUser(username,password,uri);
  return true;
}

public boolean registerUser ( String username , String password , String uri ) throws DataAccessException { if ( checkUsernameExists ( username ) ) { return false ; } storeUser ( username , password , uri ) ; return true ; }
attempts to register the username , password combination . checks if username not already exist . returns true if successful , false otherwise .
