Toggle between login and registration forms

Should probably make sure event listeners are added…
Making login and registration toggling more robust