fix many bags, add logic login add layout