Custom HTML for login widget

Hi all

I want to redevelop the S2member pro login widget. I have read other topics and have copied widgets.inc.php in to mu-plugins as advised, but am now stuck at this point. I have the HTML developed that I want the login widget to look like so just need to know how to integrate it in to the plugin please?

Many thanks for help in advance.