Moved auth clode to library.
Web now uses auth class