Integrated register and login into one page