Fix bug with login tab id.
Update packages.
Remove unused code.