Remove userId from time_entries model

Add useful error if the userId or projectId are missing