Added do_logout function to perform logout
Modified input field size from 40 to 20.
Added logout link.