1. Added login success handler.