changed action of logout button to match updated function name