Created programmatic login functionality.
Added username/password prompt to CLI.