added preloader(but doesn't work), started work with login func, popup done