Updated Main class

Updated Main class to support user authentication. It now requests
username and password until password is 6 chars long