refactored switched to submitWithRefreshAuth to post