I am having a hard time displaying an authentication modal after the user gets redirected to the homepage after logging in successfully (not when the user clicks the log in butt