fixed bug with login
update react, got the hang of form state