user registration should trigger a login event