use button to tranform register/log in form