cleaned up code for displaying users. multiple user and single profile display is cleaned up