added authentication and basic UI