Added some helpers for determining of a survey has been completed and a ...

...logged in helper