Added authentication to cli interface