basic implementation of auth
feedback from @katowulf and @bendrucker
return object for auth for consistency - thanks @katowulf
Merge pull request #20 from mattvv/master

basic implementation of auth