Making changes after review

Changed to rest based authorization instead of cookies based. As well
changed inputs for console applications.