Updated users controller