bug fix with registering provider account to existing session user
some cleanup on previous