Made top bar 'login' thing work.