Changes Suggested in PR

Moved struct from main.go to util.go and moved error handling from
util.go to auth.go