Log off function is added