Change position of the user_id field
Update registered check so that it looks for more than 0 rows rather than 1. This was failing to show someone as registered when they had more than one car registered