Styling changes, added logoff event

logoff event fired on beforeunload on client page