Update handlers.py

Catch a pickling error that happens when user first logs in.  Check that initial database values did not change with this change.  User data did not exist when user first logs in with or without code change.