added a prompt for id input & stores into id var
better organized src code, more comments and spacing
removed log file