modified logonservice