updated app-server with logging and commented out path & cookie