Login and Register scripts without sessions