Fix bug when userid doesn't exist

Don't crash sails if the userid doesn't exist, instead
issue a 404 http status to the client.