fixed login bug with get_userId