added users and basic authentication