model.action now calls .details and displays ip address, need to make the action call dynamic