many frontend changes and authentication