Add log out button and view