Added methods on main layout view for page management