[AUTH] - Added a logout function, that redirects to next args or index (if next is not passed).