Fixed invalid nonce problem and moved logout button