Updated Login and Register Activities