removed extra stuff and fixed pages to use new auth