Updated register and login forms code pages