Added randomization to login user and books