I want to check if the user is logged in, if so echo $name. How would I do this