added frontend for webpage