The frond-end is handling too much already. I will add this to the back-end later.