with changes of  csemrm
added posting in case of logged in.