Added logic to new (update|doctor) view controllers. Linking it to homebrewviewcontroller