prepare for autho