style fixes for user pages
merged perry and lang branches
minor bug corrected