made getCustomerbyUsername method