login user after success registration