Fixed addition of user and flash message when rendering-page in layout namespace