Edited main to get UI working

switched around loops and UI declaration. Added a getline to check for empty lines. Removed User vector