Added checks for logged in users and shared forms
Added checks for logged in users and shared forms

qlands/onadata,ultimateprogramer/formhub,wesley1001/formhub,awemulya/fieldsight-kobocat,hnjamba/onaclone,qlands/onadata,GeoODK/onadata,piqoni/onadata,eHealthAfrica/formhub,jomolinare/kobocat,sounay/flaminggo-test,ehealthafrica-ci/formhub,ultimateprogramer/formhub,piqoni/onadata,eHealthAfrica/onadata,jomolinare/kobocat,sounay/flaminggo-test,hnjamba/onaclone,jomolinare/kobocat,GeoODK/formhub,ehealthafrica-ci/onadata,kobotoolbox/kobocat,eHealthAfrica/onadata,makinacorpus/formhub,eHealthAfrica/formhub,SEL-Columbia/formhub,piqoni/onadata,smn/onadata,GeoODK/onadata,smn/onadata,spatialdev/onadata,hnjamba/onaclone,ehealthafrica-ci/formhub,jomolinare/kobocat,spatialdev/onadata,mainakibui/kobocat,hnjamba/onaclone,GeoODK/formhub,mainakibui/kobocat,kobotoolbox/kobocat,ehealthafrica-ci/onadata,SEL-Columbia/formhub,qlands/onadata,eHealthAfrica/formhub,makinacorpus/formhub,kobotoolbox/kobocat,awemulya/fieldsight-kobocat,makinacorpus/formhub,spatialdev/onadata,GeoODK/onadata,GeoODK/onadata,awemulya/fieldsight-kobocat,ehealthafrica-ci/formhub,ehealthafrica-ci/formhub,wesley1001/formhub,smn/onadata,ultimateprogramer/formhub,piqoni/onadata,ehealthafrica-ci/onadata,makinacorpus/formhub,sounay/flaminggo-test,GeoODK/formhub,spatialdev/onadata,eHealthAfrica/formhub,kobotoolbox/kobocat,ultimateprogramer/formhub,wesley1001/formhub,wesley1001/formhub,sounay/flaminggo-test,SEL-Columbia/formhub,ehealthafrica-ci/onadata,SEL-Columbia/formhub,mainakibui/kobocat,mainakibui/kobocat,awemulya/fieldsight-kobocat,eHealthAfrica/onadata,smn/onadata,qlands/onadata