Added unsuccesful post case and model validation