Replace depreciated get_option('siteurl')

When referencing files in the plugin directory, use
plugins_url('login', __FILE__) instead of building path using
depreciated get_option('siteurl')
Replace depreciated register_sidebar_widget()

Using wp_register_sidebar_widget() instead of depreciated
register_sidebar_widget()