Authentication, user controll - client side