add hidden class for showing/hiding parse success div and error div