Fix for login js

Missed a line to JSON.parse results.