added elsif to users controller index