word wrap
handle redirect to log out properly