Move to One Page App for Login and Register