finishing user actions and basic authentication security