login when input randCode