make uPreviousLogin nullable