Added var to feedback to determine if message is error or success, renders accordingly