fix bug where signup modal wasn't redirecting properly