log out button, input limit and timer