Change main page to fit DB