Making the script run in two modes

mode 1: run with account key e.g. install.sh 234242342sdfda342r4234
mode 2: run with no arguments to get prompted for email and password to register