is_user_logged_in() not working after domain change

is_user_logged_in() not working after domain change