Fixes the user signin problem.