Add Repository Page with Logic