update Usercontroler with latest version - register uncommented - revised