Code clean up, like removing unused variables and added body in some, so a message shows up when accessed via localhost.