How and why to use getServerSideProps in Next JS