added redirect for logout to homepage