how to activate and log in user