Implemented errors for missing data files, and login authentication