added serialer field, error msg for when devise doesn't respond to json