deserialization fixed. added username in addition to user attribute for takeaway