Removing some excess code not needed.
Handling Gigya login errors a little better.