closes login container when on register button click