[![Block of code that demonstrate the header.php](https://i.stack.imgur.com/o2OXH.png)](https://i.stack.imgur.com/o2OXH.png)

This is common and I have been googling for hours but found not many helpful answers. How would I get rid of the sign up button after user has been logged in? can we modify or chanage things outside of the php block of code?