add helper library
added basic authentication
minor changes