Added more button fucntionality to create goals to back end
merged