add loggin to UesrController