You shouldn't need an action on the form. You can do both check username and server validation and the insert record on the current page. The only success redirect you need is the redirect after the insert takes place.
Set the failure redirect of the check username to the current page with a url parameter attached and then check for that url parameter to show a message that it failed.