more refactoring...most of the userhome page is now funcitoning