error controller using
add profile change
add code-s comments and some little fixes