Add path validation in app.'s
Code indentation