first attempt at using auth system in new file structure