This commit is too large to list all changes.
Also moved redundant HTML markup to component file for reuse. Username to UUID converter also added as Middleware