dev switch
redid frontend to be rendered server side