bugfix for #2: when new rout is added login doesn't work