added login event
Merge branch 'master' of github.com:topdsoft/amos