Authentication wrapper, possible feedback needed