add event system

add user login even
Merge origin/master