fix logout to clear cookie; update login design