added case for add.
added return and logging for status active.