Add logic to show different page for login success or failure.