add restful auth service
add auth service
fixes from review
Merge pull request #23 from johnoliver/master

Add auth service