added logout functionality on goals page