removed an extra semi colon, added logon handler