complete auth solution