added logout button for locals