Added model logic in Guest page