Added temporary logout function