Added log out feature