connect goalViewController & navigationViewController with back-end logic