Improved main login to use the same UI than in filabs login.