Fixed issue with duplicate 'id' fields in Profiles and Users model.

Just explicitly add table alias for SQL table