Fixed Login/Register Route

but not functionality