Added prompting facility for username and password.