Topic: Intergration with Common.php

So I'm trying to display the users name, alright than. Simple enough? It's only saying Guest, and I know why. I think I have to set a cookie or something?

I'm really new to this and PHP, so how do I go about that?