add save beer functionality