modified user controller