Generate layout 4 logged users and not logged users