Rendering layout only for get request