made the buttons of articles on main page send ajax requests to servlets
and get response using JSON, not connected to the database though, next
step will be fetching article info. from database