Create events on registration and login.