added buttons and edited routes