fix main, login page