Need help with getting Username in Custom Dashboard Widget

I am creating a custom dashboard widget just like the one on “My account” is the name of the widget and on there it displays the username, display name, and varies other stuff dealing with your account. What I can not seem to get right is trying to display the logged in user’s username. I have tried through this plugin and through a custom function but none has been successful. Please help.