Get auth working with errors