Added user ownership and permissions in models