Validate the owner type. This will fix the problem where the API returns 500 with a malformed request that contains a wrong owner_type

Validate owner type on user model to return 422

Use validates_inclusion_of to validate owner type in Host::Base