updated the logon function