Fixed mismatched tags, reformated code and layout