add to_liquid method to user object