Added support for separate movie and series directories, implemented basic authentication, and improved error handling.