User login finished, untested.