Accessing 'userData' before it has been defined is a bad idea (selecting 'All movies' never worked if there was no collection called 'movies')