Create an idx/mobile/Login widget, supplying your product's name and the applicable copyright year(s), and attaching a suitable handler function to the "onlogin" event.

<div data-dojo-type="idx/mobile/Login" data-dojo-props="
	name: 'Product Name',
	copyright: '2013, 2010'
" onlogin="handle_login(this, arguments[0].name, arguments[0].password);">