Made logging out work