Changes layout based on the kind of session. bjmcmorran