Added Log calls for debugging issues. Added call to a custom save method in the user object (just for testing idea).