second ver. added logout button, fix css's.