Updated backend to work with new auth setup