Changed logout url to views.index to correct redirect