Edit user db and login system
Working addTab function