Changed logout param to action.
Modified loggedOut template to redirect to a proper XenForo route.

TODO : Guest Login