Added success messages. Changed input types.