Updated schema with api user and admin tables