Added filter by author

Added functionality to filter posts by author on the main page.
Stylistic changes

Made the menu buttons of equal length and added text.
Code cleanup

Added comments, changed erroneous code, deleted unnecessary lines.