Reworked API and web so i dont have to store userid in Dom. Rather not expose PKs