change the call function structure. removing some whitespaces.add more detail to error controller. fix a session bug