modified user and post models