Adding author posts functionality

@shivakrshn49 Added functionality to show author posts.