Fixed dependencies
Added error catching to admissions to prevent database errors