worker now checks if user is valid