Added the logic to render the right layout depending on the user choice. Needs repair.

Signed-off-by: Gabriela Navarro <navarro1703@gmail.com>
Signed-off-by: David Carlos <ddavidcarlos1392@gmail.com>