Change layout style, load session using resource