added config
fixed something I messed up in routes