add currentuser functionality