added text editor, fixed reloading pages routing