Added if statements and waitForUser command
Refactored action execution.
C-op login now supports noticeboard page if present.