Fixed some bugs. TODO: fix password promt. add shell thing