Fixed relation between users and projects; fixed query on users by project_id