Updated action.php and wishlist class

Check to see if user is logged in