So a-cording to the console I cant route to the dashboard after a login because the surname property is undefined but on my alerts i can see it filled correctly at all times