created user view page
seperated sidebar to a different file