modified the application controller file and add the log out link in home page.
add the chapter and part views.
resolve the conflict.