re factored author view

added loop posts part to the page