Apply the layout for query result view + add signin/signout icon