Extracted html gen for single user into its own method