convert CheckUserName to async action.