deleted setuser function
added back setuser function