Added successRedirect for successful logins.