Changed the main to accept username and password at command line