Added some testing and support for authentication
added a sensible ignore