add beforeChangeUser-Event and afterChangeUser-Event

https://www.woltlab.com/forum/index.php/Thread/229791-Login-%C3%BCberwachen/?postID=1372667#post1372667