fixed routes so doesnt error out upon clicking logout