implemented view guest and create model guest